/*
 * Copyright (C) 2023 xuexiangjys(xuexiangjys@163.com)
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *       http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 */

package com.xuexiang.templateproject.bean;

//import anet.channel.strategy.dispatch.DispatchConstants;
//import com.jcds.common.utils.Constants;
import kotlin.Metadata;
import kotlin.jvm.internal.Intrinsics;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

public final class JcdsUserChilds {
    @NotNull
    private final String createTime;
    private final int grade;
    @NotNull
    private final String gradeName;
    @NotNull
    private final Object headimg;
    private final int id;
    private final boolean needReplenishGrade;
    private final int parentId;
    @NotNull
    private final String updateTime;
    @NotNull
    private final String username;

    public JcdsUserChilds(@NotNull String createTime, int i2, @NotNull String gradeName, @NotNull Object headimg, int i3, boolean z, int i4, @NotNull String updateTime, @NotNull String username) {
        Intrinsics.checkNotNullParameter(createTime, "createTime");
        Intrinsics.checkNotNullParameter(gradeName, "gradeName");
        Intrinsics.checkNotNullParameter(headimg, "headimg");
        Intrinsics.checkNotNullParameter(updateTime, "updateTime");
        Intrinsics.checkNotNullParameter(username, "username");
        this.createTime = createTime;
        this.grade = i2;
        this.gradeName = gradeName;
        this.headimg = headimg;
        this.id = i3;
        this.needReplenishGrade = z;
        this.parentId = i4;
        this.updateTime = updateTime;
        this.username = username;
    }

    @NotNull
    public final String component1() {
        return this.createTime;
    }

    public final int component2() {
        return this.grade;
    }

    @NotNull
    public final String component3() {
        return this.gradeName;
    }

    @NotNull
    public final Object component4() {
        return this.headimg;
    }

    public final int component5() {
        return this.id;
    }

    public final boolean component6() {
        return this.needReplenishGrade;
    }

    public final int component7() {
        return this.parentId;
    }

    @NotNull
    public final String component8() {
        return this.updateTime;
    }

    @NotNull
    public final String component9() {
        return this.username;
    }

    @NotNull
    public final JcdsUserChilds copy(@NotNull String createTime, int i2, @NotNull String gradeName, @NotNull Object headimg, int i3, boolean z, int i4, @NotNull String updateTime, @NotNull String username) {
        Intrinsics.checkNotNullParameter(createTime, "createTime");
        Intrinsics.checkNotNullParameter(gradeName, "gradeName");
        Intrinsics.checkNotNullParameter(headimg, "headimg");
        Intrinsics.checkNotNullParameter(updateTime, "updateTime");
        Intrinsics.checkNotNullParameter(username, "username");
        return new JcdsUserChilds(createTime, i2, gradeName, headimg, i3, z, i4, updateTime, username);
    }

    public boolean equals(@Nullable Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof JcdsUserChilds)) {
            return false;
        }
        JcdsUserChilds jcdsUserChilds = (JcdsUserChilds) obj;
        return Intrinsics.areEqual(this.createTime, jcdsUserChilds.createTime) && this.grade == jcdsUserChilds.grade && Intrinsics.areEqual(this.gradeName, jcdsUserChilds.gradeName) && Intrinsics.areEqual(this.headimg, jcdsUserChilds.headimg) && this.id == jcdsUserChilds.id && this.needReplenishGrade == jcdsUserChilds.needReplenishGrade && this.parentId == jcdsUserChilds.parentId && Intrinsics.areEqual(this.updateTime, jcdsUserChilds.updateTime) && Intrinsics.areEqual(this.username, jcdsUserChilds.username);
    }

    @NotNull
    public final String getCreateTime() {
        return this.createTime;
    }

    public final int getGrade() {
        return this.grade;
    }

    @NotNull
    public final String getGradeName() {
        return this.gradeName;
    }

    @NotNull
    public final Object getHeadimg() {
        return this.headimg;
    }

    public final int getId() {
        return this.id;
    }

    public final boolean getNeedReplenishGrade() {
        return this.needReplenishGrade;
    }

    public final int getParentId() {
        return this.parentId;
    }

    @NotNull
    public final String getUpdateTime() {
        return this.updateTime;
    }

    @NotNull
    public final String getUsername() {
        return this.username;
    }

    public int hashCode() {
        int hashCode = ((((((((this.createTime.hashCode() * 31) + this.grade) * 31) + this.gradeName.hashCode()) * 31) + this.headimg.hashCode()) * 31) + this.id) * 31;
        boolean z = this.needReplenishGrade;
        if (z) {
            z = true;
        }
        int i2 = z ? 1 : 0;
        int i3 = z ? 1 : 0;
        int i4 = z ? 1 : 0;
        return ((((((hashCode + i2) * 31) + this.parentId) * 31) + this.updateTime.hashCode()) * 31) + this.username.hashCode();
    }

    @NotNull
    public String toString() {
        return "JcdsUserChilds(createTime=" + this.createTime + ", grade=" + this.grade + ", gradeName=" + this.gradeName + ", headimg=" + this.headimg + ", id=" + this.id + ", needReplenishGrade=" + this.needReplenishGrade + ", parentId=" + this.parentId + ", updateTime=" + this.updateTime + ", username=" + this.username + ')';
    }
}